<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
登录成功

<br>
<a th:href="@{|/admin/test|}">需要admin权限才能访问</a>
<a th:href="@{|/user/test|}">需要user权限才能访问</a>
</body>
</html>